<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Learning Web Chat</title>
    <script>
        function goRoom() {
            window.location.href = "./room"
        }
    </script>
</head>
<body>
    <input type="button" value="进入聊天室" onclick="goRoom()" />
</body>
</html>